projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75057db
)
gtk-builder-tool: Don't break GtkHBox and GtkVBox
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 14 Sep 2015 13:38:08 +0000
(09:38 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 14 Sep 2015 15:15:12 +0000
(11:15 -0400)
These classes have different defaults for ::expand than GtkBox,
which is not reflected in the declared default, so we have to
blacklist it.
gtk/gtk-builder-tool.c
patch
|
blob
|
history
diff --git
a/gtk/gtk-builder-tool.c
b/gtk/gtk-builder-tool.c
index 7ad4733fea0096bea87d53aa46f471834804a452..b5bc8c68551bd6c6ea798cc660e357945a93c756 100644
(file)
--- a/
gtk/gtk-builder-tool.c
+++ b/
gtk/gtk-builder-tool.c
@@
-171,6
+171,8
@@
needs_explicit_setting (MyParserData *data,
{ "GtkWidget", "hexpand", 0 },
{ "GtkWidget", "vexpand", 0 },
{ "GtkContainer", "border-width", 0 },
+ { "GtkVBox", "expand", 1 },
+ { "GtkHBox", "expand", 1 },
{ NULL, NULL, 0 }
};
gchar *canonical_name;